/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Decorator5;

/**
 *
 * @author Marcel
 */
public class BordaSuperior extends Decorator {
    
    public BordaSuperior (Component c) {
        super(c);
    }
    
    public void draw() {
        drawBordaSuperior();
        super.c.draw();
    }
    
    private void drawBordaSuperior () {
        for (int i = 0; i < 10; i++) {
            System.out.print("0");
        }
        System.out.println("");
    }
    
    
    
}
